/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Unit;

/**
 *
 * @author Mariita
 */
public class Medico {
    
    public String nombre="";
    public String centro="No asignado";
    public String fecha="No asignado";
    
    public boolean addMedico(String name)
    {
        if(name==null)
        {
            return false;
        }else{
            nombre=name;
            return true;
        }
    }
    
    public boolean asignarCentro(String cent)
    {
         if(cent==null)
        {
            return false;
        }else{
            centro=cent;
            return true;
        }
        
    }
    
}
